<?php //pack11class

class UploadImagePopup extends Module {

    public $width="400px";
    public $dts="";

    public function setup() {
        $this->dts=LabelManager::getLabel("button_save");
        $this->question=LabelManager::getLabel("upload_image_label");
        $this->setID("UploadImagePopup");
        $this->setClass("popup");

        $cancel=new FormButton;
        $cancel->value=LabelManager::getLabel("button_cancel");
        $cancel->type=FormButton::TYPE_BUTTON;
        $cancel->setID("UploadImageCancel");
        $this->buttons.=Template::html($cancel);

        $save=new FormButton;
        $save->value=LabelManager::getLabel("button_delete");
        $save->type=FormButton::TYPE_BUTTON;
        $save->setID("UploadImageSubmit");
        $this->buttons.=Template::html($save);
    }

}
?>
